package com.bwie.service;

import com.bwie.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import com.bwie.vo.LoginForm;
import com.bwie.vo.PageVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【tb_user】的数据库操作Service
* @createDate 2025-05-21 16:31:21
*/
public interface TbUserService extends IService<TbUser> {

    Result login(LoginForm loginForm);

    Result getMenuList();

    Result getUserPage(PageVo pageVo);

    Result uploadImage(MultipartFile file);

    Result updateUser(TbUser tbUser);

    Result deleteByUserId(Integer id);

    Result deleteBatch(List<TbUser> ids);

    Result checkUser(TbUser tbUser);
}
